import request from '@/utils/request'
export default {
    // 获取权限列表
    getPermissionList() {
        return request({
            url: '/permission/list',
            method: 'get'
        })
    },
    // 添加权限
    addPermission(data) {
        return request({
            url: '/permission/addPermission',
            method: 'post',
            data
        })
    },
}